﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<WEBDT.ViewModel.userInfoModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

<h2>insert</h2>

    <div class="create">
        <div class="themhead">Thêm quyền hạn</div>
        <form id="form" enctype="multipart/form-data" method="post">
    <fieldset id="Account">
        <input  name="username" type="hidden" value="<%=Model.UserName %>" />
        <div class="elem">
            <label for="ten">Tên </label>
            <input id="ten" name="ten" type="text" value="<%=Model.Ten %>" />
        </div>
        <div class="elem">
            <label for="diachi">Địa chỉ</label>
            <input id="diachi" name="diachi" type="text" value="<%=Model.DiaChi %>" />
        </div>
        <div class="elem">
            <label for="email">Email</label>
            <input id="email" name="email" type="file" value="<%=Model.Email %>" />
        </div>
        <div class="elem">
            <label for="dienthoai">Điện thoại</label>
            <input id="dienthoai" name="dienthoai" type="text" value="<%=Model.DienThoai %>" />
        </div>
        <div class="elem">
            <label for="cmnd">CMND</label>
            <input id="cmnd" name="cmnd" type="text" value="<%=Model.cmnd %>" />
        </div>
        <div class="elem">
            <label for="gioitinh">Giới tính</label>
            <%if (Model.GioiTinh == 1)
             { %>
                    <input id="Radio1" name="gioitinh" type="radio" value="1" checked />Nam
                    <input id="Radio2" name="gioitinh" type="radio" value="0" />Nữ
             <%} else {%>
                    <input id="nam" name="gioitinh" type="radio" value="1" />Nam
                    <input id="nu" name="gioitinh" type="radio" value="0" checked />Nữ
               <%}%>
        </div>
        <div class="elem">
            <label for="ngaysinh">Sell off</label>
            <input id="date" name="ngaysinh" type="text" value="<%=Model.NgaySinh %>" />
        </div>
       
    </fieldset>
    <button type="submit">Save</button>
        <button type="reset">Reset</button>
</form>
    </div>
</asp:Content>